package com.yayohos.locationmanager.constants;


/**
 * 定位失败Type.
 *
 * @Date 2021/5/26
 */
public final class FailType {
    /**
     * 未知错误
     */
    public static final int UNKNOWN = -1;
    /**
     * 超时
     */
    public static final int TIMEOUT = 1;
    /**
     * 权限被拒绝
     */
    public static final int PERMISSION_DENIED = 2;
    /**
     * 网络
     */
    public static final int NETWORK_NOT_AVAILABLE = 3;
    /**
     * 位置服务未开启
     */
    public static final int GPS_NOT_OPEN = 5;

    /**
     * 视图未加载
     */
    public static final int VIEW_DETACHED = 8;
    /**
     * 视图非依赖类型
     */
    public static final int VIEW_NOT_REQUIRED_TYPE = 9;

    private FailType() {
    }
}
